package com.data.service.manage;

import com.data.domain.manage.Orgauth;
import com.data.domain.manage.Orgauth;
import com.data.model.ManagerModel;

import java.util.List;

/**
 * Created by silenceholic on 2017/5/2.
 */
public interface OrgauthService {

    /**
     * 机构业务权限基本查询
     * @param managerModel
     * @return
     */
    List<Orgauth> getOrgauth(ManagerModel managerModel);
    /**
     * 机构业务权限信息插入
     * @param
     * @return
     */
    int insertOrgauth(ManagerModel managerModel);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    Orgauth getOrgauthById(int id);

    /**
     * 入网机构信息修改
     * @param managerModel
     * @return
     */
    int modifyOrgauth(ManagerModel managerModel ,int id);
}
